package com.lagou.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@Entity
@Table(name = "position")
public class Position  implements Serializable {

	@Column(name = "companyName")
	private String companyname;

	@Id
	@Column(name = "id")
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Double id;

	@Column(name = "positionAdvantage")
	private String positionadvantage;

	@Column(name = "companyId")
	private Double companyid;

	@Column(name = "positionName")
	private String positionname;

	private String salary;

	@Column(name = "salaryMin")
	private Double salarymin;

	@Column(name = "salaryMax")
	private Double salarymax;

	@Column(name = "salaryMonth")
	private Double salarymonth;

	private String education;

	@Column(name = "workYear")
	private String workyear;

	@Column(name = "jobNature")
	private String jobnature;

	@Column(name = "chargeField")
	private String chargefield;

	@Column(name = "createTime")
	private java.util.Date createtime;

	private String email;

	@Column(name = "publishTime")
	private String publishtime;

	@Column(name = "isEnable")
	private Double isenable;

	@Column(name = "isIndex")
	private Double isindex;

	private String city;

	private Double orderby;

	@Column(name = "isAdvice")
	private Double isadvice;

	private Double showorder;

	@Column(name = "publishUserId")
	private Double publishuserid;

	@Column(name = "workAddress")
	private String workaddress;

	@Column(name = "generateTime")
	private java.util.Date generatetime;

	@Column(name = "bornTime")
	private java.util.Date borntime;

	@Column(name = "isReward")
	private Double isreward;

	@Column(name = "rewardMoney")
	private String rewardmoney;

	@Column(name = "isExpired")
	private Double isexpired;

	@Column(name = "positionDetailPV")
	private Double positiondetailpv;

	@Column(name = "offlineTime")
	private java.util.Date offlinetime;

	@Column(name = "positionDetailPV_cnbeta")
	private Double positiondetailpvCnbeta;

	@Column(name = "adviceTime")
	private java.util.Date advicetime;

	@Column(name = "comeFrom")
	private String comefrom;

	@Column(name = "receivedResumeCount")
	private Double receivedresumecount;

	@Column(name = "refuseResumeCount")
	private Double refuseresumecount;

	@Column(name = "markCanInterviewCount")
	private Double markcaninterviewcount;

	@Column(name = "haveNoticeInterCount")
	private Double havenoticeintercount;

	@Column(name = "isForbidden")
	private Double isforbidden;

	private String reason;

	@Column(name = "verifyTime")
	private java.util.Date verifytime;

	@Column(name = "adWord")
	private Double adword;

	@Column(name = "adRankAndTime")
	private String adrankandtime;

	@Column(name = "adTimes")
	private Double adtimes;

	@Column(name = "adStartTime")
	private java.util.Date adstarttime;

	@Column(name = "adEndTime")
	private java.util.Date adendtime;

	@Column(name = "adBeforeDetailPV")
	private Double adbeforedetailpv;

	@Column(name = "adAfterDetailPV")
	private Double adafterdetailpv;

	@Column(name = "adBeforeReceivedCount")
	private Double adbeforereceivedcount;

	@Column(name = "adAfterReceivedCount")
	private Double adafterreceivedcount;

	@Column(name = "adjustScore")
	private Double adjustscore;

	@Column(name = "weightStartTime")
	private java.util.Date weightstarttime;

	@Column(name = "weightEndTime")
	private java.util.Date weightendtime;

	@Column(name = "isForward")
	private String isforward;

	@Column(name = "forwardEmail")
	private String forwardemail;

	@Column(name = "isSchoolJob")
	private String isschooljob;

	private Integer type;

	@Column(name = "prolong_offline_time")
	private java.util.Date prolongOfflineTime;

}
